package com.macro.mall.mapper;


import com.macro.mall.model.SmsParkingCouponHistory;
import com.macro.mall.model.SmsParkingCouponHistoryExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SmsParkingCouponHistoryMapper {
    long countByExample(SmsParkingCouponHistoryExample example);

    int deleteByExample(SmsParkingCouponHistoryExample example);

    int deleteByPrimaryKey(Long id);

    int insert(SmsParkingCouponHistory record);

    int insertSelective(SmsParkingCouponHistory record);

    List<SmsParkingCouponHistory> selectByExample(SmsParkingCouponHistoryExample example);

    SmsParkingCouponHistory selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") SmsParkingCouponHistory record, @Param("example") SmsParkingCouponHistoryExample example);

    int updateByExample(@Param("record") SmsParkingCouponHistory record, @Param("example") SmsParkingCouponHistoryExample example);

    int updateByPrimaryKeySelective(SmsParkingCouponHistory record);

    int updateByPrimaryKey(SmsParkingCouponHistory record);
}